Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Time Base Functions / Working With Time Base Values


SetTimeBaseStartTime

You can set the start time of a time base by calling the SetTimeBaseStartTime function. The start time defines the time base's minimum time value. You must specify the new start time in a time structure.

pascal void SetTimeBaseStartTime (TimeBase tb, 
                                    const TimeRecord *tr);
tb
Specifies the time base for this operation. Your application obtains this time base identifier from the NewTimeBase function (described on page 2-297).
tr
Contains a pointer to a time structure that contains the start time value.
DESCRIPTION
Do not use this function to restrict the Movie Toolbox to a portion of a movie--use the SetMovieActiveSegment function (described on page 2-121) instead.

ERROR CODES
None

SEE ALSO
You can determine the start time of a time base by calling the GetTimeBaseStartTime function, which is described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996